package com.qf.day06.Homework;

import java.text.DecimalFormat;
import java.util.Random;


public class Demo {
    public static void main(String[] args) {
        Hero hero = new Hero("努努",100,50,60);
        System.out.println(hero.toString());
        hero.unarmedAttack();

        Son son = new Son("丛伟龙",100,50,60,100);
        son.dj();
    }
}
